package com.ym.b2b.charge.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ym.b2b.charge.dao.EmBLogDao;
import com.ym.b2b.charge.dao.SaleDetailDao;
import com.ym.b2b.charge.service.EmBLogService;
import com.ym.b2b.charge.service.SaleDetailService;
import com.ym.b2b.charge.vo.EmBLogVO;
import com.ym.b2b.charge.vo.SaleDetailVO;
import com.ym.b2b.commons.exception.BaseException;
import com.ym.b2b.commons.service.BaseService;
import com.ym.b2b.commons.util.CheckData;
import com.zc.commons.base.Page;
import com.zc.commons.base.Result;

/**
 * @ClassName: EmBLogServieImpl
 * @Description: TODO
 * @Author tangxj
 * @Date 2015-5-8 下午3:23:59
 * @Modify
 * @CopyRight B2B小组
 */

@Service
public class EmBLogServieImpl extends BaseService implements EmBLogService {

    @Autowired
    private EmBLogDao emBLogDao;

	@Override
	public Result searchPageEmBLog(EmBLogVO emBLogVO, Page<EmBLogVO> page)
			throws BaseException {
		Result result = new Result();
        try {
            result.setResultPage(emBLogDao.searchPageEmBLog(emBLogVO, page));
        } catch (Exception e) {
            e.printStackTrace();
            throw new BaseException("订单查询异常");
        }
        return result;
	}

}
